package com.link2room.ironhide.facade;

import com.link2room.common.jpa.result.QueryResult;
import com.link2room.ironhide.dto.param.manager.L2RGroupAreaManagerParamDto;
import com.link2room.ironhide.dto.result.base.L2RGroupAreaChildrenDto;
import com.link2room.ironhide.dto.result.base.L2RGroupAreaDto;

import java.util.List;

/**
 * Created by sss on 2016/10/11.
 */
public interface IGroupAreaManagerFacadeService {
    L2RGroupAreaDto updateL2RGroupArea(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    QueryResult<L2RGroupAreaDto> listL2RGroupArea(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto) throws Exception;

    /**
     * 列出级联城市列表
     * @param l2RGroupAreaManagerParamDto
     * @return
     * @throws Exception
     */
    List<L2RGroupAreaChildrenDto> listL2RGroupAreaChildren(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto) throws Exception;

    void updateL2RGroupAreaForHotelNum(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    /**
     * 保存集团城市
     * @param l2RGroupAreaManagerParamDto
     * @throws Exception
     */
    L2RGroupAreaDto saveL2RGroupArea(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

}
